<template>
    <div>

        <!-- 轮播图组件 -->
        <SwiperView :api="getSwiper" :autoplay="true" :interval="2000">
            <template #header>
                <NavTop />
            </template>

            <template #footer>
                <ScrollBar />
            </template>

        </SwiperView>
    </div>
</template>

<script setup lang="ts">
import SwiperView from '../components/SwiperView.vue'
import NavTop from '../components/NavTop.vue'
import ScrollBar from '../components/ScrollBar.vue';
import { getSwiper } from '../api/home'


</script>

<style scoped></style>